package com.usian.store.fegin;

import com.usian.common.pojo.Dept;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @TODO:
 * @Author:baimu
 * @Date:2024 07 02 10 44
 **/
@FeignClient("dept-service")
public interface DeptFegin {
    @GetMapping("/api/dept/findAll")
    public List<Dept> findAll();
}
